package com.awenhui.demo.model.rbac;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author yuxf
 * @version 1.0
 * @date 2020/5/6 17:33
 */
@Data
public class AddUserRoleModel {

    @NotNull(message = "用户Id不能为空")
    private Long userId;
    @NotNull(message = "角色Id不能为空")
    private Long roleId;

}
